//
//  GetExplainDataRequest.m
//  Grammar
//
//  Created by Rick on 7/11/13.
//
//

#import "GetExplainDataRequest.h"
#import "GrammarExplain.h"
#import "ExplainManager.h"


@implementation GetExplainDataRequest
- (NSString*)getRequestUrl
{
    return [NSString stringWithFormat:@"%@%@",REQUEST_DOMAIN,@"grammar/getGrammarExplain.intf?"];
}

- (ITTRequestMethod)getRequestMethod
{
    return ITTRequestMethodGet;
}

- (void)processResult
{
//    NSMutableArray *explainArray = [[NSMutableArray alloc] init];
//    for (NSDictionary *explainDic in [self.resultDic objectForKey:@"explainList"]) {
//        GrammarExplain *aGrammarExplain = [[GrammarExplain alloc] initWithDataDic:explainDic];
//        [explainArray addObject:aGrammarExplain];
//        
//        [aGrammarExplain release];
//    }
//    [self.resultDic setObject:explainArray forKey:@"data"];
//    [self.resultDic removeObjectForKey:@"explainList"];
//    [explainArray release];
    
}

@end
